package com.jzz.eletuanbackend.entity;

public class Commodity {
    private Long id;
    private Long blockId;
    private Long shopId;
    private String name;
    private String image;
    private String description;
    private String specifications;
    private Double price;
    private Integer minQuantity;
    private Double packPrice;

    public Commodity() {

    }

    public Commodity(Long id, Long blockId, Long shopId, String name, String image, String description, String specifications, Double price, Integer minQuantity, Double packPrice) {
        this.id = id;
        this.blockId = blockId;
        this.shopId = shopId;
        this.name = name;
        this.image = image;
        this.description = description;
        this.specifications = specifications;
        this.price = price;
        this.minQuantity = minQuantity;
        this.packPrice = packPrice;
    }

    public Commodity(Long id, String name, String image, String description, String specifications, Double price, Integer minQuantity, Double packPrice) {
        this.id = id;
        this.name = name;
        this.image = image;
        this.description = description;
        this.specifications = specifications;
        this.price = price;
        this.minQuantity = minQuantity;
        this.packPrice = packPrice;
    }

    public Commodity(String name, String image, String description, String specifications, Double price, Integer minQuantity, Double packPrice) {
        this.name = name;
        this.image = image;
        this.description = description;
        this.specifications = specifications;
        this.price = price;
        this.minQuantity = minQuantity;
        this.packPrice = packPrice;
    }

    public Long getBlockId() {
        return blockId;
    }

    public void setBlockId(Long blockId) {
        this.blockId = blockId;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getSpecifications() {
        return specifications;
    }

    public void setSpecifications(String specifications) {
        this.specifications = specifications;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getMinQuantity() {
        return minQuantity;
    }

    public void setMinQuantity(Integer minQuantity) {
        this.minQuantity = minQuantity;
    }

    public Double getPackPrice() {
        return packPrice;
    }

    public void setPackPrice(Double packPrice) {
        this.packPrice = packPrice;
    }
}
